package com.atguigu.day16.exer;

import org.junit.Test;

/*
所有对象都在堆当中.
字符串对象也在堆当中.
*/
public class TestStringMemory {
    @Test
    public void test01() {
        String str = "hello";
        String s=new String("12");
    }
}
